// @ts-nocheck
import React from 'react';
import { ApplyPluginsType, dynamic } from 'D:/Users/Administrator/Desktop/新建文件夹/项目代码/bw-practice/node_modules/@umijs/runtime';
import * as umiExports from './umiExports';
import { plugin } from './plugin';
import LoadingComponent from '@/Loading';

export function getRoutes() {
  const routes = [
  {
    "path": "/",
    "component": dynamic({ loader: () => import(/* webpackChunkName: 'layouts__index' */'@/layouts/index.tsx'), loading: LoadingComponent}),
    "routes": [
      {
        "path": "/",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__index' */'@/pages/index.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/login",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__login' */'@/pages/login.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/highPost",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__highPost' */'@/pages/students/highPost.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/interviewManage",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__interviewManage' */'@/pages/students/interviewManage.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/myInterviewManage",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__myInterviewManage' */'@/pages/students/myInterviewManage.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/myProject",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__myProject' */'@/pages/students/myProject.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/myQuestionAnswer",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__myQuestionAnswer' */'@/pages/students/myQuestionAnswer.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/projectAnswer",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__projectAnswer' */'@/pages/students/projectAnswer.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/projectKu",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__projectKu' */'@/pages/students/projectKu.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/rankList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__rankList' */'@/pages/students/rankList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/students/studentpersonCenter",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__students__studentpersonCenter' */'@/pages/students/studentpersonCenter.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/addDefence",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__addDefence' */'@/pages/teachers/addDefence.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/addPlan",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__addPlan' */'@/pages/teachers/addPlan.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/addPostSkill",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__addPostSkill' */'@/pages/teachers/addPostSkill.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/addProject",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__addProject' */'@/pages/teachers/addProject.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/answerDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__answerDetail' */'@/pages/teachers/answerDetail.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/defence",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__defence' */'@/pages/teachers/defence.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/interviewList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__interviewList' */'@/pages/teachers/interviewList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/interviewManage",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__interviewManage' */'@/pages/teachers/interviewManage.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/interviewRecord",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__interviewRecord' */'@/pages/teachers/interviewRecord.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/planList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__planList' */'@/pages/teachers/planList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/postSkill",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__postSkill' */'@/pages/teachers/postSkill.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/proManagemen",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__proManagemen' */'@/pages/teachers/proManagemen.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/questionDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__questionDetail' */'@/pages/teachers/questionDetail.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/questionHandle",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__questionHandle' */'@/pages/teachers/questionHandle.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/rankList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__rankList' */'@/pages/teachers/rankList.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/teacherPersonCenter",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__teacherPersonCenter' */'@/pages/teachers/teacherPersonCenter.tsx'), loading: LoadingComponent})
      },
      {
        "path": "/teachers/viewPlan",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__teachers__viewPlan' */'@/pages/teachers/viewPlan.tsx'), loading: LoadingComponent})
      }
    ]
  }
];

  // allow user to extend routes
  plugin.applyPlugins({
    key: 'patchRoutes',
    type: ApplyPluginsType.event,
    args: { routes },
  });

  return routes;
}
